package de.gameduell.framework.facebook.event {
	import flash.events.Event;

	public class InventoryEvent extends Event {
		
		public static const INVENTORY_ITEM_ADDED:String = "INVENTORY_ITEM_ADDED";
		
		private var _itemId:int;
		private var _itemTitle:String;
		
		public function InventoryEvent(type:String, aItemId:int, aItemTitle:String, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			
			_itemId = aItemId;
			_itemTitle = aItemTitle;
		}
		
		public function get itemId():int {
			return _itemId;
		}

		public function get itemTitle():String {
			return _itemTitle;
		}
	}
}
